<%-- 
    Document   : saveadd
    Created on : 5-dec-2009, 11:07:28
    Author     : Thomas Roelens
--%>
<%@page import="be.ugent.medirem.persistence.util.DateFormatter" %>

<jsp:useBean id="consultation" class="be.ugent.medirem.persistence.entity.values.ConsultationValues" scope="request"/>

<jsp:setProperty name="consultation" property="patientId"/>
<jsp:setProperty name="consultation" property="date" value="<%= DateFormatter.convert(request.getParameter(\"date\") + ' ' + request.getParameter(\"hour\") + ':' + request.getParameter(\"minute\"),\"d MMM yyyy HH:mm\") %>" />

<jsp:forward page="/gp/patient/consultation/new" />
